package kr.hkit.powerjava.chapter22.work4;

import java.util.ArrayList;
import java.util.Iterator;

import kr.hkit.powerjava.chapter22.work.StudentManager;
import kr.hkit.powerjava.chapter22.work4.dao.StudentManagerImpl;
import kr.hkit.powerjava.chapter22.work4.vo.Student;

public class TestMain {
	public static void main(String[] args) {
		ArrayList<Student> stdList = new ArrayList<>();
		StudentManagerImpl sm = new StudentManagerImpl(stdList);
		
		Student std1= new Student(1, "김태희", 90, 91, 92);
		sm.addItem(std1);
		sm.prnItems();
		
		
		for(Student std : stdList){
			System.out.println(std);
		}
		Student std = null;
		Iterator<Student> iterater= stdList.iterator();
	
	}
}
